package com.pets.springboot_petshop.service;

import com.pets.springboot_petshop.entity.Homecarousel;
import com.pets.springboot_petshop.entity.Membershiptype;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface HomecarouselService {
    //id查询
    Homecarousel selectHomecarousel(int id);
    //查询所有
    List<Homecarousel> findAll();
    List<Homecarousel> selectname(String name);
    //添加
    int addHomecarousel(Homecarousel homecarousel);
    //删除
    int deleteHomecarouselById(int id);
    //修改数据
    int updateHomecarouselById(Homecarousel homecarousel);
}
